﻿using System;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using AB.ServiceDirectory.BO;

namespace AB.ServiceDirectory.Design.Premises
{
    public partial class PremiseList : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                GridViewServiceList.DataSource = Enumerable.Range(0, 15);
                GridViewServiceList.DataBind();

                PremiseBO.GetList(null, null, 1, 1);
            }
        }

        protected void LinkButton09_Click(object sender, EventArgs e)
        {

        }

        protected void FilterByLetters_Command(object sender, CommandEventArgs e)
        {
        }

        protected void ObjectDataSourceServiceList_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
        {
        }

        protected void CheckBoxInactive_CheckedChanged(object sender, EventArgs e)
        {
        }

        protected void LinkButtonServicename_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Premise/PremiseDetails.aspx");
        }
    }
}